FROM openjdk:8-jdk-alpine
COPY "./moshme-admin/target/moshme-admin.jar" "/home/docker/moshme/moshme-admin.jar"
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
#RUN echo -e "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/main\n\
#https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/community" > /etc/apk/repositories
#RUN apk --update add curl bash ttf-dejavu && rm -rf /var/cache/apk/*
ENTRYPOINT java -jar /home/docker/moshme/moshme-admin.jar